I cant fint the pattern in the text. I dont solve it . Why i cant find it ?
import re
text = "(230 V AC) 25 kA(400 V AC) 25 kA(440 V AC) 6 kA(500 V AC) 6 kA(690 V AC) 2 kA"
patern = r"(400 V AC) \d{2,3} kA"
result = re.search(patern,text)
print(result)
I want to find (400 V AC) kA value. For this text i want to find '25 kA'