I have a string as below.
"Included in PTA fees" or "Included in PTA fees 33$" or "Included in PTA fees $60"
I need to match this string with searching for PTA fee/fees and whether any fee(number) is also appended with it.
Need to look for "PTA fees" along with fee value in any given string and return true.
So it should return true for
"Included in PTA fees 33$" and
"Included in PTA fees $60"
It should return false for "Included in PTA fees"
I tried with below regular expression. but it returns true for
"Included in PTA fees"
/#{PTA_FEE[0-9]}/i.match?(value)
thishere