@lew
You can use the following regular expression to match a number greater than 50 before a specific character:
1
|
[5-9][0-9]+(?=specific_char) |
Explanation of the regex:
Make sure to replace specific_char
with the actual character you want to match after the number.