Need regex in the middle wildcard help

2023-06-18 Thread ToddAndMargo via perl6-users
Hi All, I know how to do this with several regex's and words. What I'd like to learn is how to remove something from the middle with regex using a wild card. And I can't figure it out #!/bin/raku print "\n"; my Str $x = Q[wine-7.12-3.fc37.i686.rpm23-Jul-2022 19:11 11K print "1 [$x]\n\n

Subject: Re: Need regex in the middle wildcard help

2023-06-18 Thread Joseph Brenner
References: Try something like this, perhaps: $x ~~ s:i/ ^ (.*?) '' .*? '