Regex

From sheep
Jump to navigation Jump to search

Look ahead example

U+123

(?=U\+\d+)U\+(\d+).*)

Look for something starting with a 'U+' followed by a number then match on the same string and then process that sequence in this case capture the number