-2

I am trying to do something like

term3_pattern = re.compile(r'(Sanskar:214) * <SP>')

and then check like that

term3_pattern.match(i):

Can someone help me with the regex pattern?

wp78de
  • 18,207
  • 7
  • 43
  • 71
Kunal Kakade
  • 107
  • 2
  • 10

1 Answers1

0

hey you can try this

import re 
re.findall(r'Sanskar:214.*<SP>', s)  // s is  your string
Argus Malware
  • 773
  • 7
  • 19