findall only works with a string as input not a list.

You probably want to use map and re.match or re.search for example:

Also your regex has multiple repeat symbols in it and needs some tuning, this one seems to work J\w{3}son

import re
a = ["Jackson", "Johnson", "Jason"]
c = list(map(lambda x: re.search("J\w{3}son",x), a))
print([i.string for i in c if i])

output:

['Jackson', 'Johnson']

Update if your input type is just a string then your original expression was fine you just need to change the regex to the example above

import re
a = "Jackson Johnson Jason"
b = re.findall("J\w{3}son", a)
print(b)

output:

['Jackson', 'Johnson']
Answer from Alexander on Stack Overflow
🌐
Python documentation
docs.python.org › 3 › library › re.html
re — Regular expression operations
In future Python versions they will be keyword-only parameters. re.findall(pattern, string, flags=0)¶ · Return all non-overlapping matches of pattern in string, as a list of strings or tuples.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-regex-re-search-vs-re-findall
Python Regex: re.search() VS re.findall() - GeeksforGeeks
July 12, 2025 - re.findall() function returns all non-overlapping matches of a pattern in a string as a list of strings.
Discussions

How to use Python regex pattern matching with re.findall(pattern, string)? - Stack Overflow
I need to match to the strings "Johnson" and "Jackson", but not the string "Jason." Using Python, I need to use the function findall in the RegEx library. I tried: a =... More on stackoverflow.com
🌐 stackoverflow.com
regex - How can I find all matches to a regular expression in Python? - Stack Overflow
When I use the re.search() function to find matches in a block of text, the program exits once it finds the first match in the block of text. How do I do this repeatedly where the program doesn't s... More on stackoverflow.com
🌐 stackoverflow.com
regex - regular expression findall() in Python - Stack Overflow
If I have this string: s = "this, that; talk, love, hate; good, bad, all good." And I want to extract the items separated by , ; or . So the result I want is: ["this", "that", "talk", "love", "h... More on stackoverflow.com
🌐 stackoverflow.com
regex - Python Regular Expression findall with variable - Stack Overflow
I am trying to use re.findall with look-behind and look-forward to extract data. The regular expression works fine when I am not using a raw_input variable, but I need users to be able to input a v... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Reddit
reddit.com › r/learnpython › how to re.findall
r/learnpython on Reddit: how to re.findall
September 14, 2024 -

how to use re.findall so that it outputs from code = 'a, b, c' is ['a', 'b', 'c'] because a = re.findall([r'\D+,'], code) outputs ['a, b,']

🌐
W3Schools
w3schools.com › python › python_regex.asp
Python RegEx
A special sequence is a \ followed ... pair of square brackets [] with a special meaning: The findall() function returns a list containing all matches....
🌐
GeeksforGeeks
geeksforgeeks.org › python › re-findall-in-python
re.findall() in Python - GeeksforGeeks
July 23, 2025 - import re # Find all numbers in a string text = "There are 12 apples, 5 bananas, and 300 oranges." # \d+ matches one or more digits pattern = r'\d+' matches = re.findall(pattern, text) print(matches)
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 4697882 › how-can-i-find-all-matches-to-a-regular-expression-in-python
regex - How can I find all matches to a regular expression in Python? - Stack Overflow
When I use the re.search() function to find matches in a block of text, the program exits once it finds the first match in the block of text. How do I do this repeatedly where the program doesn't s...
🌐
University of Pittsburgh
sites.pitt.edu › ~naraehan › python3 › re.html
Python 3 Notes: Regular Expressions
Python 3 Notes [ HOME | LING 1330/2330 ] Regular Expressions << Previous Note Next Note >> On this page: re module, re.findall(), re.sub(), re.compile(), re.search(), re.search().group(). The re Module So you learned all about regular expressions and are ready to use them in Python.
🌐
AppSignal
blog.appsignal.com › home › python › python regex: how to use re.search, re.match, and re.findall
Python Regex: How to Use re.search, re.match, and re.findall | AppSignal Blog
January 15, 2025 - re.findall() finds all matches of a pattern in a string and returns them as a list of strings. Use it when you need to find all pattern occurrences in a string. In this section, we'll dive into some more advanced regex techniques for Python.
🌐
Google
developers.google.com › google for education › python › python regular expressions
Python Regular Expressions | Python Education | Google for Developers
The re.findall(pat, str) function finds all matches of a pattern in a string and returns them as a list of strings or tuples, depending on whether the pattern contains capturing groups.
🌐
Medium
medium.com › @ynagalakshmi89 › getting-started-with-regex-in-python-basics-and-re-findall-explained-95d3ed6ab026
“Getting Started with Regex in Python: Basics and re.findall Explained” | by Nagalakshmi Yadlapalli | Medium
December 30, 2025 - re.findall() method in Python helps us find all pattern occurrences in a string. It’s like searching through a sentence to find every word that matches a specific rule.
🌐
Medium
medium.com › data-science › regular-expressions-using-the-re-module-to-extract-information-from-strings-3d0500e8db1c
Regular Expressions : Using the “re” Module to Extract Information From Strings | by Muriel Kosaka | TDS Archive | Medium
December 29, 2020 - This post is divided into three sections, reviewing three simple functions to extract useful information from strings with examples. ... Regex’s findall() function is extremely useful as it returns a list of strings containing all matches.
🌐
Codecademy
codecademy.com › docs › python › regular expressions › re.findall()
Python | Regular Expressions | re.findall() | Codecademy
July 2, 2023 - The .findall() method iterates over a string to find a subset of characters that match a specified pattern. It will return a list of every pattern match that occurs in a given string.
🌐
Medium
theitken.medium.com › python-regular-expression-match-search-and-findall-80e78afa9db3
Python regular expression match, search and findall | by Ken | Medium
July 25, 2020 - languages = "English,Japanese,Chinese,Burmese" m = re.findall("\w+(?=ese)", languages) #m returns: ['Japan', 'Chin', 'Burm']
🌐
PYnative
pynative.com › home › python › regex › python regex find all matches using findall() and finditer()
Python Regex Find All Matches using findall() and finditer()
July 27, 2021 - The re.findall() scans the target string from left to right as per the regular expression pattern and returns all matches in the order they were found.
🌐
Rexegg
rexegg.com › regex-quickstart.php
Regex Cheat Sheet
Regular Expressions Syntax Reference. Includes tables showing syntax, examples and matches.
🌐
Towards AI
pub.towardsai.net › i-tested-all-4-gemma-4-models-the-26b-one-is-cheating-in-the-best-way-744e40d90d37
I Tested All 4 Gemma 4 Models: The 26B One Is Cheating (In the Best Way) | by Chew Loong Nian - AI ENGINEER | Towards AI
April 12, 2026 - Google dropped Gemma 4 this week under Apache 2.0 — free to use, free to commercialize, no strings attached. Four model sizes landed at once: E2B, E4B, 26B MoE, and 31B Dense. I pulled all four on my local machine the day they released, ran the same tasks on each, and found something I didn’t expect.
🌐
Pandas
pandas.pydata.org › docs › reference › api › pandas.Series.str.findall.html
pandas.Series.str.findall — pandas 3.0.5 documentation
The equivalent re function to all non-overlapping matches of pattern or regular expression in string, as a list of strings.