Created
May 7, 2025 13:42
-
-
Save swo/59b53a9f5ad927844995f9b39b6e8298 to your computer and use it in GitHub Desktop.
Streamlit example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
import re | |
st.title("A regex checker") | |
s = st.text_input("string") | |
r = re.compile(st.text_input("regex")) | |
st.write(re.findall(string=s, pattern=r)) | |
num = st.number_input("number", 0, 100, 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment