Test Dbol Cycle Log Pharma TRT

Comments · 14 Views

Test Dbol Cycle Log Pharma TRT Use a small regular expression that looks for https://buch-samuelsen-3.technetbloggers.de a slash (`/`), skips any whitespace that follows it,

Test Dbol Cycle Log Pharma TRT


Use a small regular expression that looks for a slash (`/`), skips any whitespace that follows it, and then captures the first non‑whitespace token.

The captured part is exactly the "value" you want.



import re

text = "… / foo bar … / baz qux"

capture everything after a slash until the next space


values = re.findall(r'/\s(^\s+)', text)

print(values)

'foo', 'baz'




Explanation


This is the "value" you need.

If you only need the first such value, replace `findall` with `search` and access the first group:



m = re.search(r'/\s*(^\s+)', text)
if m:
print(m.group(1))

'foo'




This will reliably extract the desired string following a slash.

Comments