[Solved] create a regular expression of a specific sentence [closed]

If you’re just asking for a way to parse the variable bits from this kind of text, it’s quite easy: See here: http://tinyurl.com/qjdaj9w var exp = new Regex(@”angle\(Vector\((.*?),(.*?)\),Vector\((.*?),(.*?)\),(.*?),(.*?)\)”); var match = exp.Match(“angle(Vector(JointA,jointB),Vector(JointA,jointB),minValue,maxValue)”); var jointA1 = match.Groups[0]; var jointB1 = match.Groups[1]; var jointA2 = match.Groups[2]; var jointB2 = match.Groups[3]; var max = match.Groups[4]; var min = … Read more

[Solved] How to use re.findall to get the url string? [closed]

re.findall(r”‘https://.*?'”, part_of_html) re.findall(pattern, string, flags=0) Return all non-overlapping matches of pattern in string, as a list of strings. The string is scanned left-to-right, and matches are returned in the order found. If one or more groups are present in the pattern, return a list of groups; this will be a list of tuples if the … Read more