Regex

From Moo
Jump to: navigation, search

Look ahead example[edit]

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