Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Capturing group with two-digit expression #76989
    Peter Gala
    Member

    Hi Johnny, thanks for reply. According to the example the result might be “333-22-333-4444-1”
    Yes, it is possible to change that in two steps – I finaly use first expression to delete all dashes: (?<=\d)\-(?=\d) and in the second sep I’m adding dashes at the right position:
    find: (\d{3})(\d{2})(\d{3})(\d{4})(\d{5})
    change: $1-$2-$3-$4-&5

    But the question is, if it even goes to express/catch the group in position with number 10 and higher.

Viewing 1 post (of 1 total)